<template>
  <div
  v-if="loadingShow"
  class="allShow"
    v-loading="loadingShow"
    element-loading-text="请等待"
    element-loading-background="rgba(255, 255, 255, 0.1)"
  >
  </div>
</template>
<script>
export default {
  name: "App",
  props : {
    loadingShow: false,
  },
  data() {
    return {
     
    };
  },
  mounted() {
      console.log(this.loadingShow,false,'loading')
  },
  methods: {
    message() {
      this.$router.push("/message");
    },
    exit() {
      localStorage.removeItem("userList");
      this.$router.push("/");
      this.dialogVisible = false;
    },
  },
};
</script>
<style  scoped>
.allShow{
    height: 100vh;
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
}
</style>